{
This file is part of OvoPlayer
Copyright (C) 2011 Marco Caselli

OvoPlayer is free software; you can redistribute it and/or
modify it under the terms of the GNU General Public License
as published by the Free Software Foundation; either version 2
of the License, or (at your option) any later version.

This program is distributed in the hope that it will be useful,
but WITHOUT ANY WARRANTY; without even the implied warranty of
MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
GNU General Public License for more details.

You should have received a copy of the GNU General Public License
along with this program; if not, write to the Free Software
Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA  02110-1301, USA.

}
// Master include File for OVOPlayer application
//
// Working Audio engines
// VLC             - Videolan VLC     - Stable
// BASS            - Un4Seen          - Stable
// DSHOW           - Microsoft        - Stable, windows only
// XINE            - Xine             - Stable, minor issues
// GSTREAMER       - Gstreamer        - Stable, Linux only, needs glib
// MPLAYER         - Mplayer          - Stable, minor issues
// UOS             - Various          - Stable, minor issues
// MEDIAFOUNDATION - Microsoft        - Stable, minor seeking issues, Windows Vista and later only
//
// Engines under development
// FFMPEG          - FFMpeg           - Working, but FFMPEG changes data structures so often that I disabled this
// OPENSOURCELIB   - Various          - Working with major issues, lighter alternative to UOS

{$IFDEF LINUX}
//
  {$DEFINE GSTREAMER} // GStreamer need glib
  {$DEFINE VLC} //
  {$DEFINE XINE} //
  {$DEFINE BASS} //
  {$DEFINE UOS} //

  {.$DEFINE OPENSOURCELIB} //
  {.$DEFINE FFMPEG}

{$ENDIF LINUX}

{$IFDEF WINDOWS}
  {$DEFINE DSHOW} // Work only on windows
  {$DEFINE MEDIAFOUNDATION} // Work only on windows vista and higher
  {$DEFINE VLC} //
  {$DEFINE XINE} //
  {$DEFINE BASS} //
  {$DEFINE UOS} //

  {.$DEFINE OPENSOURCELIB} //
  {.$DEFINE FFMPEG} //

{$ENDIF WINDOWS}

{$IFDEF DARWIN}
  {$DEFINE VLC} //
  {$DEFINE BASS} //

  {.$DEFINE OPENSOURCELIB} //
  {.$DEFINE UOS} //
  {.$DEFINE FFMPEG}

{$ENDIF DARWIN}

// Platform-dependent features
{$IFDEF LINUX}
  {$DEFINE NEEDCFGSUBDIR} // Need to add a sub-directory to configuration files directory
  {$DEFINE ASKMMKEYSMODE} // Ask for multimedia keys capture mode
  {$DEFINE MPRIS2} // MPRIS V2 Interface
  {$DEFINE NOTIFYDBUS} // use DBus notification
{$ENDIF LINUX}  

{$IFDEF WINDOWS}
  {$DEFINE SUPPORT_SHAPING} // seems to work only on windows
{$ENDIF WINDOWS}

{$IFDEF LCLWin32}
  {$DEFINE SUPPORT_LISTBOX_HINT} // GTK2 have some problems
{$ENDIF LCLWin32}

//if release is defined, try to be quiet and efficient...
{$IFDEF RELEASE}
  {$HINTS OFF}
  {$INLINE ON}
{$ENDIF RELEASE}





